From 51fb6ae2bfc8d7685cea93033a5b4746390a2a50 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 29 Mar 2007 14:25:07 +0000 Subject: [PATCH] * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent target page instead of silently redirecting. --- RELEASE-NOTES | 3 +++ includes/SpecialRecentchangeslinked.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7d13d59ff4..5f9343cdde 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -286,6 +286,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 9411) Fix for shared image descriptions using query-string titles * (bug 4756) Add user tool links for self created accounts at special:log instead of sometimes broken block links from newuserlog extension +* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent + target page instead of silently redirecting. + == Maintenance == * New script maintenance/language/checkExtensioni18n.php used to check i18n diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index a9c584f5f9..14508d3a8b 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -137,7 +137,7 @@ $GROUPBY } $res = $dbr->query( $sql, $fname ); - $wgOut->addHTML("< ".$sk->makeKnownLinkObj($nt, "", "redirect=no" )."
\n"); + $wgOut->addHTML("< ".$sk->makeLinkObj($nt, "", "redirect=no" )."
\n"); $note = wfMsgExt( "rcnote", array ( 'parseinline' ), $limit, $days, $wgLang->timeAndDate( wfTimestampNow(), true ) ); $wgOut->addHTML( "
\n{$note}\n
" ); -- 2.20.1